const express = require("express");
const router = express.Router();
const rulesController = require("../controllers/rulesController");

router.get("/", rulesController.getList);
router.post("/", rulesController.add);
router.put("/:id", rulesController.update);
router.delete("/:id", rulesController.remove);

module.exports = router;
